package com.example.recruitment_website.service.Impl;

import com.example.recruitment_website.domain.Test;
import com.example.recruitment_website.repository.TestRepository;
import com.example.recruitment_website.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private TestRepository testRepository;

    @Override
    public List<Test> findAllTest() {
        return testRepository.findAll();
    }
}
